<link rel="stylesheet" type="text/css" href="css/page.css"/>
<style type="text/css">
#search{width:200px;}
.wrap{width:80%; float:right;}
table{width:100%; border-top: 1px solid #d5dde0; border-left: 1px solid #d5dde0; margin-bottom:10px; line-height:30px;}
th{background:#f2f7fa; color:#62676a;}
th,td{ text-align:center; border-bottom: 1px solid #d5dde0; border-right: 1px solid #d5dde0;}
.fenyeiWrap{<!-- width:77%; --> }
td input.set{width:60px; height:20px; text-align:center; line-height:20px\9; }
#perPageWrap{display:none;}
.act_btn{float:right; height:22px; line-height:22px\9; border: 1px solid #ACACAC; padding: 0 5px 1px; padding: 0 8px\9; cursor:pointer;}
.fenyeiWrap{margin-top:50px;float:right;}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.set{line-height:24px;}
}
p{padding-left:20px;margin-bottom:5px;}
p input{vertical-align:-5px\9;margin-right:10px;}
p button{line-height:20px;cursor: pointer;}

.radio{padding:0 5px;}
.set_radio{vertical-align: -2px;}
.tbFees{table-layout:fixed;}
.setWidth{width: 90px;}
.setWidth_a{width: 72px;}
.setWidth_b{width:105px;}
.setWidth_c{width:65px;}
</style>
<div class="wrap">
	<iframe name="ifr" style="display:none;"></iframe>
  <form action="">
	<p>
		<span>查询条件：</span>
		<input type="text" name="txt" value="<?=$txt?>"  id="search" />
		<button type="submit">查 询</button>
	</p>
  </form>
  <form action="fees.php" target="ifr" >
	<table class="tbFees">
		<tr>
			<th class="setWidth_a">供应商账号</th>
			<th>供应商名称</th>
			<th>联系人</th>
			<th class="setWidth">平台使用费(元)</th>
			<th class="setWidth">支付手续费用</th>
            <?if($_GET['zax']){?>
            <th>购物资金冻结比例</th>
            <?}?>
			<th class="setWidth">短信收费(元/条)</th>
			<th class="setWidth_b">电子凭证费(元/单)</th>
			<th class="setWidth_c">短信及凭证费收取</th>
		</tr>
	<?	foreach($apply as $a){?>
		<tr>
			<td><?=$a['account']?></td>
			<td><?=$a['dname']?></td>
			<td><?=$a['cname'].":".$a['mobile']?></td>
			<td><input type="text" name="fee_platform[<?=$a['id']?>]" class="set" value="<?=$a['fee_platform']/100?>" /></td>
			<td><input type="text" name="fee_bank[<?=$a['id']?>]" class="set" value="<?=$a['fee_bank']?>" />‰</td>
            <?if($_GET['zax']){?>
            <td>0</td>
            <?}?>
			<td><input type="text" name="fee_sms[<?=$a['id']?>]" class="set" value="<?=$a['fee_sms']/100?>" /></td>
			<td><input type="text" name="fee_code[<?=$a['id']?>]" class="set" value="<?=$a['fee_code']/100?>" /></td>
			<td class="radio"><input type="radio" name="fee_pay_way[<?=$a['id']?>]" class="set_radio" value="1" <?if($a['fee_pay_way']==1){echo "checked";}?> />分销商<br /><input type="radio" name="fee_pay_way[<?=$a['id']?>]" class="set_radio" value="0" <?if($a['fee_pay_way']==0){echo "checked";}?> />供应商</td>
		</tr>
	<?	}?>
	</table>
	<button type="submit" class="act_btn" >保存修改</button>
	<?page($total,$currentPage,$pageSize);?>
  </form>
</div>